/*
 * Created by: Peter Weissbrod
 * Created: Saturday, November 03, 2007
 */
using System;
using EntityLayer.Entities;

namespace Controllers
{
    /// <summary>
    /// these are gestures that the view can send to the controller
    /// </summary>
    public interface IUserManagementView:IView
    {
        event EventHandler<UserEventArgs> CreateUserEvent;
        event EventHandler<UserEventArgs> UpdateUserEvent;
    }
    /// <summary>
    /// this is the information encapsulated within the gestures
    /// </summary>
    public class UserEventArgs:EventArgs
    {
        private readonly User user = null;
        public User User
        {
            get { return user; }
        }
        public UserEventArgs(User user)
        {
            this.user = user;
        }
    }
}